package com.ysz.eureka.memberclent.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.ysz.eureka.memberclent.remote.UserRemoteClient;

/**
 * @author: yushizhong
 * @date: 2022-01-20 16:25
 * @version: 1.0
 **/
@Service
public class UserService {
    @Resource
    private UserRemoteClient userRemoteClient;

    public String getName() {
        return userRemoteClient.getUserName(1);

    }
}
